package com.pencilisland.pay.api.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AppConfig {
	@Value("${pi.wxpay.appid}")
	private String wxpayAppId;
	@Value("${pi.wxpay.mchid}")
	private String wxpayMchId;
	@Value("${pi.wxpay.signkey}")
	private String wxpaySignKey;
	
	@Value("${pi.wxapp.appid}")
	private String wxappAppId;
	
	@Value("${pi.wxapp.appsecret}")
	private String wxappAppSecret;
	
	@Value("${server.app}")
	private String appServer;
	@Value("${server.core}")
	private String coreServer;
	@Value("${server.mgt}")
	private String mgtServer;
	/**
	 * 阿里云服务
	 */
	@Value("${pi.aliyun.appkey}")
	private String aliyunAppKey;
	@Value("${pi.aliyun.appsecret}")
	private String aliyunAppSecret;
	@Value("${pi.aliyun.oss.bucket}")
	private String ossBucket;
	@Value("${pi.aliyun.oss.url}")
	private String ossUrl;

	public String getWxpayAppId() {
		return wxpayAppId;
	}

	public void setWxpayAppId(String wxpayAppId) {
		this.wxpayAppId = wxpayAppId;
	}

	public String getWxpayMchId() {
		return wxpayMchId;
	}

	public void setWxpayMchId(String wxpayMchId) {
		this.wxpayMchId = wxpayMchId;
	}

	public String getWxpaySignKey() {
		return wxpaySignKey;
	}

	public void setWxpaySignKey(String wxpaySignKey) {
		this.wxpaySignKey = wxpaySignKey;
	}


	public String getAliyunAppKey() {
		return aliyunAppKey;
	}

	public void setAliyunAppKey(String aliyunAppKey) {
		this.aliyunAppKey = aliyunAppKey;
	}

	public String getAliyunAppSecret() {
		return aliyunAppSecret;
	}

	public void setAliyunAppSecret(String aliyunAppSecret) {
		this.aliyunAppSecret = aliyunAppSecret;
	}

	public String getOssBucket() {
		return ossBucket;
	}

	public void setOssBucket(String ossBucket) {
		this.ossBucket = ossBucket;
	}

	public String getOssUrl() {
		return ossUrl;
	}

	public void setOssUrl(String ossUrl) {
		this.ossUrl = ossUrl;
	}

	public String getAppServer() {
		return appServer;
	}

	public void setAppServer(String appServer) {
		this.appServer = appServer;
	}

	public String getCoreServer() {
		return coreServer;
	}

	public void setCoreServer(String coreServer) {
		this.coreServer = coreServer;
	}

	public String getMgtServer() {
		return mgtServer;
	}

	public void setMgtServer(String mgtServer) {
		this.mgtServer = mgtServer;
	}

	public String getWxappAppId() {
		return wxappAppId;
	}

	public void setWxappAppId(String wxappAppId) {
		this.wxappAppId = wxappAppId;
	}

	public String getWxappAppSecret() {
		return wxappAppSecret;
	}

	public void setWxappAppSecret(String wxappAppSecret) {
		this.wxappAppSecret = wxappAppSecret;
	}
}
